﻿using System;
using System.ServiceModel;
using System.ServiceModel.Web;

namespace PicServer.Services
{
    [ServiceContract]
    public interface IPicService
    {
        [OperationContract]
        Byte[] GetImage(Int64 imageUnicode);

        [OperationContract(Name = "SaveImageWithFileDes")]
        Int64 SaveImage(Byte[] fileData, String fileDes);

        [OperationContract]
        Int64 SaveImage(Byte[] fileData);
    }
}
